package com.happyfamily.springboot.crowdsourcingplatform.model;

import lombok.Data;

import java.io.Serializable;


@Data
public class OperationLog implements Serializable
{
	private Integer id;
	private String createTime;
	/**
	 * 日志等级
	 */
	private Integer logLevel;
	/**
	 * 被操作的对象
	 */
	private String operationUnit;
	/**
	 * 方法名
	 */
	private String method;
	/**
	 * 参数
	 */
	private String args;
	/**
	 * 操作人id
	 */
	private String userId;

	/**
	 * 日志描述
	 */
	private String logDescribe;
	/**
	 * 操作类型
	 */
	private String operationType;
	/**
	 * 方法运行时间
	 */
	private Long runTime;
	/**
	 * 方法返回值
	 */
	private String returnValue;

	@Override
	public String toString()
	{
		return "OperationLog{" + "id='" + id + '\'' + ", createTime='" + createTime + '\'' + ", logLevel=" + logLevel + ", operationUnit='" + operationUnit + '\'' + ", method='" + method + '\'' + ", args='" + args + '\'' + ", userId='" + userId + '\'' + ", logDescribe='" + logDescribe + '\'' + ", operationType='" + operationType + '\'' + ", runTime=" + runTime + ", returnValue='" + returnValue + '\'' + '}';
	}
}
